#ifndef REGISTER_H
#define REGISTER_H

#include <QtGui/QWidget>
#include "ui_register.h"
#include "dt.h"
#include "loginwidget.h"

class register_widget : public QWidget
{
    Q_OBJECT

public:
    register_widget(QWidget *parent = 0);
    ~register_widget();

private:
    Ui::registerClass ui;
    DtHttp* dh;
    void SetSoftKeys();
    void ReadXml(const QString& xml);
    
private slots:
    void Back();
    void DtRegister();
    void on_rbMale_clicked();
    void on_rbFemale_clicked();
    void finished(QNetworkReply *reply);
};



#endif // REGISTER_H
